{% include file="index.header.tpl.php" %}
{% include file="index.left.tpl.php" %}
  <!--主要内容开始-->
  <div class="content-wrapper">
    <section class="content">
      <div class="row">
        <section class="col-lg-12 connectedSortable">
         <div class="box box-default box-solid">
             <form action="" method="post">	
                <div class="box-header with-border">
                    <span class="fa fa-pencil" style="float:left; font-size:18px; padding-top:3px; color:#3c8dbc;" ></span>
                    <p class="box-title">教师档案</p>
                </div>
                <div class="box-body">
        			<div class="form-group">
						  <label for="inputPassword3" class="col-md-3 control-label text-right" style="padding-right:0; padding-left:0; font-weight:500;">
							   编号：
						  </label>
						  <div class="input-group col-md-6 col-sm-12 col-xs-12">
							   <input type="text" name="staff_number" class="form-control" value="">
						  </div> 
				    </div>
					<div class="form-group">
						  <label for="inputPassword3" class="col-md-3 control-label text-right" style="padding-right:0; padding-left:0; font-weight:500;">
							   姓名：
						  </label>
						  <div class="input-group col-md-6 col-sm-12 col-xs-12">
							   <input type="text" name="staff_name" class="form-control" value="">
						  </div> 
				    </div>
					<div class="form-group">
						  <label for="inputPassword3" class="col-md-3 control-label text-right" style="padding-right:0; padding-left:0; font-weight:500;">
							   性别：
						  </label>
						  <div class="input-group col-md-6 col-sm-12 col-xs-12">
							   <label><input type="radio" name="staff_sex" value="1" checked> 男</label>
							   <label><input type="radio" name="staff_sex" value="0"> 女</label>
						  </div> 
				    </div>
						<div class="form-group">
						  <label for="inputPassword3" class="col-md-3 control-label text-right" style="padding-right:0; padding-left:0; font-weight:500;">
							   出生日期：
						  </label>
						  <div class="input-group col-md-6 col-sm-12 col-xs-12">
							       <input type="text" class="form-control" value="" name="staff_birth" id="datepicker"/>
                                   <div class="input-group-addon">
                                      <i class="fa fa-calendar"></i>
                                  </div>
						  </div> 
				    </div>
					<div class="form-group">
						  <label for="inputPassword3" class="col-md-3 control-label text-right" style="padding-right:0; padding-left:0; font-weight:500;">
							   学历：
						  </label>
						  <div class="input-group col-md-6 col-sm-12 col-xs-12">
							   <select class="form-control" name="staff_education">
                                <option value="0"> 专科以下</option>
                                <option value="1"> 专科</option>
                                <option value="2"> 本科</option>
								<option value="3"> 研究生</option>
								<option value="4"> 研究生以上</option>
                              </select>  
						  </div> 
				    </div>
					<div class="form-group">
						  <label for="inputPassword3" class="col-md-3 control-label text-right" style="padding-right:0; padding-left:0; font-weight:500;">
							   职称：
						  </label>
						  <div class="input-group col-md-6 col-sm-12 col-xs-12">
							   <select class="form-control" name="staff_position">
                                <option value="0"> 未定级</option>
                                <option value="1"> 二级</option>
                                <option value="2"> 一级</option>
								<option value="3"> 高级</option>
                              </select>  
						  </div> 
				    </div>
					<div class="form-group">
						  <label for="inputPassword3" class="col-md-3 control-label text-right" style="padding-right:0; padding-left:0; font-weight:500;">
							   参加工作时间：
						  </label>
						  <div class="input-group col-md-6 col-sm-12 col-xs-12"> 
								  <input type="text" class="form-control" id="from" name="staff_wordtime">   
                                  <div class="input-group-addon">
                                      <i class="fa fa-calendar"></i>
                                  </div>
						  </div> 
				    </div>
					<div class="form-group">
						  <label for="inputPassword3" class="col-md-3 control-label text-right" style="padding-right:0; padding-left:0; font-weight:500;">
							   到校工作时间：
						  </label>
						  <div class="input-group col-md-6 col-sm-12 col-xs-12"> 
								  <input type="text" class="form-control" id="to" name="staff_time">   
                                  <div class="input-group-addon">
                                      <i class="fa fa-calendar"></i>
                                  </div>
						  </div> 
				    </div>
					
				</div><!--box-body --> 
                <div class="box-footer text-center">
                     <button class="btn btn-primary" type="submit">保 存 信 息</button>
                 </div>
             </form>
           </div><!--box box-default box-solid-->
        </section>   
           
        </div><!--row-->
    </section>
 </div>
  <!--主要内容结束-->
 {% include file="index.footer.tpl.php" %}
 <script>
  $(function() {
	  $("#datepicker").datepicker({
	      changeMonth: true,
	      changeYear: true,
	  });
    $( "#from" ).datepicker({
      defaultDate: "+1w",
      changeMonth: true,
	  changeYear: true,
      numberOfMonths:1,
      onClose: function( selectedDate ) {
        $( "#to" ).datepicker( "option", "minDate", selectedDate );
      }
    });
    $( "#to" ).datepicker({
      defaultDate: "+1w",
      changeMonth: true,
      changeYear: true,
      numberOfMonths:1,
      onClose: function( selectedDate ) {
        $( "#from" ).datepicker( "option", "maxDate", selectedDate );
      }
    });
  });
  </script>
